<html>
	<head>
		<title>Using the flash plugin for playing audio</title>
		<script type="text/javascript" src="../tool.js"></script>
		<script type="text/javascript">
			var play = function(){
				Player = multiMedia('playItHere', 'sample.mp3', '', '', true);
			}
		</script>
	</head>
	<body style="font-family:Arial;">
		<div id="playItHere" style="width:400px; height:300px; background:#444;"></div>
		<div style="margin-top:5px;">
			<input type="button" value="Play" onclick='play()' />
			<input type="button" value="Stop" onclick='Player.stop()' />
			<input type="button" value="Pause" onclick='Player.pause()' />
			<input type="button" value="Resume" onclick='Player.resume()' />
			volume: <input type="text" size="1" value="80" id="volValue" onchange="Player.setVolume(this.value)" />
			<input type="button" value="" onclick='Player.setVolume(docId("volValue").value)' />
		</div>
	</body>
</html>